<html>

<head>
  <meta name="viewport"
        content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" />
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    body {
      background: #f4f5f6;
    }

    .main {
      width: 100%;
      height: 140px;
      padding: 24px 0;
      color: #fff;
      text-align: center;
      background-color: #56c61e;
      position: relative;
    }

    .main .title {
      margin: 20px 0;
      font-size: 20px;
      font-weight: bold;
    }

    .main .time {
      font-size: 20px;
      font-family: Arial, Helvetica, sans-serif;
    }

    .main .icon {
      position: absolute;
      bottom: -26px;
      left: 0;
      right: 0;
      margin: 0 auto;
      width: 58px;
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #56c61e;
      background: #fff;
      border: 5px solid #56c61e;
      box-sizing: border-box;
      font-size: 35px;
      line-height: 55px;
      border-radius: 50%;
    }

    .main .icon::after {
      content: "";
      width: 30px;
      height: 24px;
      /* border-radius: 3px;
        border: 5px solid #56c61e;
        border-width: 0 0 5px 5px;
        transform: translateY(-3px) rotate(-50deg); */
      background: url();
    }

    .footer {
      margin: 2.5rem 0;
      padding: 0 0.75rem;
      text-align: center;
      color: #6d6d72;
    }

    .mask {
      height: 100vh;
      position: fixed;
      top: 0;
      left: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      align-items: center;
      color: #aaa;
      opacity: 0.4;
    }

    .mask .item {
      width: 50%;
      transform: rotate(-10deg);
    }
  </style>
</head>

<body>
  <div class="main">
    <p class="title">欢迎来到永和龙子湖广场！</p>
    <p class="time">2022-03-30 13:38</p>
    <div class="icon"></div>
  </div>

  <p class="footer">请将此信息页出示给相关工作人员</p>

  <div class="mask">
    <div class="item">【郑州市新型冠状病毒感染的肺炎疫情防控领导小组办公室】</div>
    <div class="item">【郑州市新型冠状病毒感染的肺炎疫情防控领导小组办公室】</div>
    <div class="item">【郑州市新型冠状病毒感染的肺炎疫情防控领导小组办公室】</div>
  </div>
</body>
<script>
  function getCurrentTime() {
    let opts = {
      year: "numeric",
      month: "2-digit",
      day: "2-digit",
      hour: "2-digit",
      minute: "2-digit",
      // second: "2-digit",
      hour12: false,
      hourCycle: "h23",
    }

    let res = Intl.DateTimeFormat("zh-CN", opts).format(new Date())
    return res.replace(/\//g, "-")
  }

  let time = document.querySelector(".time")
  time.innerHTML = getCurrentTime()
</script>

</html>
